package com.hxwm.entity;

import com.hxwm.util.Util;

import java.util.Map;

public class MapperField {
    private String fieldName;//字段名
    private String fieldType;//字段类型
    private String fieldRemark;//字段备注
    private String dateTimeFlag;//日期拼接标志
    private Map<Object,Object> enumMapper;//枚举映射
    private String specialCondition;//关联条件值字段
    public MapperField(String fieldName, String fieldType, String fieldRemark) {
        this.fieldName = fieldName;
        this.fieldType = fieldType;
        this.fieldRemark = fieldRemark;
    }

    public boolean isEmpty(){
        if(Util.isNullOrEmpty(this.fieldName)){
            return true;
        }
        return false;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getFieldType() {
        return fieldType;
    }

    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }

    public String getFieldRemark() {
        return fieldRemark;
    }

    public void setFieldRemark(String fieldRemark) {
        this.fieldRemark = fieldRemark;
    }

    public String getDateTimeFlag() {
        return dateTimeFlag;
    }

    public void setDateTimeFlag(String dateTimeFlag) {
        this.dateTimeFlag = dateTimeFlag;
    }

    public Map<Object, Object> getEnumMapper() {
        return enumMapper;
    }

    public void setEnumMapper(Map<Object, Object> enumMapper) {
        this.enumMapper = enumMapper;
    }

    public String getSpecialCondition() {
        return specialCondition;
    }

    public void setSpecialCondition(String specialCondition) {
        this.specialCondition = specialCondition;
    }
}
